package com.bt.vo;

import com.bt.entity.YddAdvimg;
import com.bt.entity.YddCate;
import com.bt.entity.YddLink;
import com.bt.entity.YddTag;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;

import java.util.List;

/**
 * @Description 首页和全局数据 数据模型
 * @Author 张传康
 * @Date 2023-05-03 17:06
 */
@ApiModel("响应前端的首页和全局数据的数据模型")
@Slf4j
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserIndexVO {
    @ApiModelProperty("所有分类")
    private List<YddCate> allCate;
    @ApiModelProperty("所有友情链接（文字和图片）")
    private List<YddLink> allLink;

    @ApiModelProperty("所有标签")
    private List<YddTag> allTag;

    @ApiModelProperty("轮播图数据")
    private List<YddAdvimg> banner;

    // config
//    private

    @ApiModelProperty("详情广告图")
    private List showBanner;

    @ApiModelProperty("侧边栏图片")
    private List sideBanner;
}
